[INFO] cloning repository https://github.com/dancen/rust-ai-agent-hub
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dancen/rust-ai-agent-hub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdancen%2Frust-ai-agent-hub", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdancen%2Frust-ai-agent-hub'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a4707b0cea4bd110fc757941711ddb36b4e4b1b
[INFO] fixing dancen/rust-ai-agent-hub against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdancen%2Frust-ai-agent-hub" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dancen/rust-ai-agent-hub
[INFO] finished tweaking git repo https://github.com/dancen/rust-ai-agent-hub
[INFO] tweaked toml for git repo https://github.com/dancen/rust-ai-agent-hub written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dancen/rust-ai-agent-hub on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dancen/rust-ai-agent-hub already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df
[INFO] running `Command { std: "docker" "start" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ring v0.17.14
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]     Checking rsa v0.9.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking tower-http v0.6.7
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking sqlx-mysql v0.7.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking rust-ai-agent-hub v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             "INSERT INTO ai_agent (token, user_id, name, data, ttl, created_at, updated_at)
[INFO] [stdout] 30 | |              VALUES (?, ?, ?, ?, ?, NOW(), NOW())",
[INFO] [stdout] 31 | |             token,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |             ttl.unwrap_or(AGENT_TIME_EXPIRATION)
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | /         sqlx::query!(
[INFO] [stdout] 45 | |             "INSERT INTO audit_log (user_id, action_type, target_table, target_id, description, ip_address, created_at)
[INFO] [stdout] 46 | |              VALUES (?, ?, ?, ?, ?, ?, NOW())",
[INFO] [stdout] 47 | |             user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             ip
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 74 | |             "
[INFO] [stdout] 75 | |             DELETE FROM ai_agent
[INFO] [stdout] 76 | |             WHERE NOW() > DATE_ADD(created_at, INTERVAL ttl SECOND)
[INFO] [stdout] 77 | |             "
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/services/agent_service.rs:100:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |           let user = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 101 | |             r#"SELECT id, rate_limit, rate_count, rate_reset_at, ttl FROM api_user WHERE api_key = ? FOR UPDATE"#,
[INFO] [stdout] 102 | |             api_key
[INFO] [stdout] 103 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/services/agent_service.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 | /         sqlx::query!(
[INFO] [stdout] 131 | |             r#"UPDATE api_user SET rate_count = ?, rate_reset_at = ? WHERE id = ?"#,
[INFO] [stdout] 132 | |             new_rate_count,
[INFO] [stdout] 133 | |             new_reset_at,
[INFO] [stdout] 134 | |             user.id
[INFO] [stdout] 135 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::*`
[INFO] [stdout]  --> src/services/agent_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::constants::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             "INSERT INTO ai_agent (token, user_id, name, data, ttl, created_at, updated_at)
[INFO] [stdout] 30 | |              VALUES (?, ?, ?, ?, ?, NOW(), NOW())",
[INFO] [stdout] 31 | |             token,
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |             ttl.unwrap_or(AGENT_TIME_EXPIRATION)
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | /         sqlx::query!(
[INFO] [stdout] 45 | |             "INSERT INTO audit_log (user_id, action_type, target_table, target_id, description, ip_address, created_at)
[INFO] [stdout] 46 | |              VALUES (?, ?, ?, ?, ?, ?, NOW())",
[INFO] [stdout] 47 | |             user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             ip
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/agent_service.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 74 | |             "
[INFO] [stdout] 75 | |             DELETE FROM ai_agent
[INFO] [stdout] 76 | |             WHERE NOW() > DATE_ADD(created_at, INTERVAL ttl SECOND)
[INFO] [stdout] 77 | |             "
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/services/agent_service.rs:100:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |           let user = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 101 | |             r#"SELECT id, rate_limit, rate_count, rate_reset_at, ttl FROM api_user WHERE api_key = ? FOR UPDATE"#,
[INFO] [stdout] 102 | |             api_key
[INFO] [stdout] 103 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/services/agent_service.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 | /         sqlx::query!(
[INFO] [stdout] 131 | |             r#"UPDATE api_user SET rate_count = ?, rate_reset_at = ? WHERE id = ?"#,
[INFO] [stdout] 132 | |             new_rate_count,
[INFO] [stdout] 133 | |             new_reset_at,
[INFO] [stdout] 134 | |             user.id
[INFO] [stdout] 135 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::*`
[INFO] [stdout]  --> src/services/agent_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::constants::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ai-agent-hub` (bin "rust-ai-agent-hub") due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-ai-agent-hub` (bin "rust-ai-agent-hub" test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df", kill_on_drop: false }`
[INFO] [stdout] e04a1dab40135050ee6aa5cffed48606bfd17cdef2f0f7bc365e388c67c859df
